import { ref } from 'vue'
export default function () {
  const moveX = ref(0)
  const moveY = ref(0)
  window.addEventListener('mousemove', (event) => {
    moveX.value = event.pageX
    moveY.value = event.pageY
  })
  return {
    moveY,
    moveX
  }
}
